Testing Acyclicity of Directed Graphs in Sublinear Time

نویسندگان

  • Michael A. Bender
  • Dana Ron
چکیده

This paper initiates the study of testing properties of directed graphs. In particular, the paper considers the most basic property of directed graphs – acyclicity. Because the choice of representation affects the choice of algorithm, the two main representations of graphs are studied. For the adjacency matrix representation, most appropriate for dense graphs, a testing algorithm is developed that requires query and time complexity of ~ O(1= 2), where is a distance parameter independent of the size of the graph. The algorithm, which can probe the adjacency matrix of the graph, accepts every graph that is acyclic, and rejects, with probability at least 2=3, every graph whose adjacency matrix should be modified in at least fraction of its entries so that it become acyclic. For the incidence list representation, most appropriate for sparse graphs, an (jVj1=3) lower bound is proved on the number of queries and the time required for testing, where V is the set of vertices in the graph. These results stand in contrast to what is known about testing acyclicity in undirected graphs. Department of Computer Science, State University of New York at Stony Brook, Stony Brook, NY 11794-4400, USA. Email: [email protected]. yDepartment of Electrical Engineering – Systems, Tel Aviv University, Ramat Aviv, Israel. Email: [email protected].

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

STCON in Directed Unique-Path Graphs

We study the problem of space-efficient polynomial-time algorithms for directed stconnectivity (STCON). Given a directed graph G, and a pair of vertices s, t, the STCON problem is to decide if there exists a path from s to t in G. For general graphs, the best polynomial-time algorithm for STCON uses space that is only slightly sublinear. However, for special classes of directed graphs, polynomi...

متن کامل

Acyclicity in edge-colored graphs

A walk W in edge-colored graph is called properly colored (PC) if every pair of consecutive edges in W is of different color. We study five types of PC acyclicity in edge-colored graphs such that graphs of PC acyclicity of type i is a proper superset of graphs of acyclicity of type i+1, i = 1, 2, 3, 4. The first three types are equivalent to the absence of PC cycles, PC trails, and PC walks. Wh...

متن کامل

SAT Modulo Graphs: Acyclicity

Acyclicity is a recurring property of solutions to many important combinatorial problems. In this work we study embeddings of specialized acyclicity constraints in the satisfiability problem of the classical propositional logic (SAT). We propose an embedding of directed graphs in SAT, with arcs labelled with propositional variables, and an extended SAT problem in which all clauses have to be sa...

متن کامل

A Sublinear Space, Polynomial Time Algorithm for Directed s-t Connectivity

Directed s-t connectivity is the problem of detecting whether there is a path from vertex s to vertex t in a directed graph. We present the rst known deterministic sublinear space, polynomial time algorithm for directed s-t connectivity. For n-vertex graphs, our algorithm can use as little as n=2 ( p logn) space while still running in polynomial time.

متن کامل

Simple Examples of Sublinear-time Algorithms for Graphs 1.1 Definitions

For sublinear-time algorithms, it is crucial how input is represented and accessed. Depending on input representation and queries allowed, we might or might not be able to solve a given problem in sublinear time. In addition, in the property testing model, the correctness guarantee of the algorithm depends on the distance between objects, which is typically normalized by the size of the input. ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2000